package com.ztom.context.support

/**
 * @author ZhangTao
 */
class ClassPathXmlApplicationContext : AbstractXmlApplicationContext {

    private val configLocations: Array<String>

    constructor(configLocation: String): this(arrayOf(configLocation))

    constructor(configLocations: Array<String>) {
        this.configLocations = configLocations
        refresh()
    }

    override fun getConfigLocations(): Array<String>? {
        return configLocations
    }
}